<!DOCTYPE html>
<html lang="zh-Hans">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
  <title>竖排编辑器</title>
  <link rel="stylesheet" type="text/css" href="./style/editor_content.css">
  <link rel="stylesheet" type="text/css" href="./style/annotation.css">
  <link rel="stylesheet" type="text/css" href="./style/font_family.css">
</head>
<body>
<div class="editor-container">
  <div class="control-left">
    <button id="back" class="back-button"></button>
  </div>
  <div class="tool-buttons">
    <button id="redo" class="tool-button redo"></button>
    <button id="undo" class="tool-button undo"></button>
    <button id="save" class="tool-button save"></button>
  </div>

  <div class="editor-content" contenteditable="true"></div>

  <!-- 添加右键菜单结构 -->
  <div id="contextMenu" class="context-menu">
    <button class="annotation-button" id="addAnnotation">添加注释</button>
  </div>
</div>

<script src="./script/vertical-editor.js"></script>
<script src="./script/cache.js"></script>
<script src="./script/annotation.js"></script>
<script src="./script/font-family.js"></script>

<!--test-->
<script>
<!--setTimeout(() => {-->
<!--  applyFontFamily('simsun-fan')-->
<!--}, 3000);-->
</script>

</body>
</html>